package com.gz.moreaseManager.sys.mapper;

import com.gz.moreaseManager.sys.entity.Role;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色信息表 Mapper 接口
 * </p>
 *
 * @author wike
 * @since 2019-02-19
 */
public interface RoleMapper extends BaseMapper<Role> {


    /**
     * 批量修改角色状态
     * @param status
     * @param roleIds
     * @return
     */
    int updateRoleStatusByIds(@Param("status") Byte status, @Param("roleIds") List<Integer> roleIds);

}
